package com.hcy.ordermodel.dto.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/3/20 21:49
 */
@Data
public class AddDriverForOrderRequestDTO {
    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @NotNull
    private String orderNumber;

    /**
     * 司机id
     */
    @NotNull
    private Integer driverId;

    /**
     * 司机电话
     */
    @NotNull
    private String driverPhone;

    /**
     * 车辆id
     */
    @NotNull
    private Integer carId;

    /**
     * 车牌号
     */
    @NotNull
    private String plateNumber;

    /**
     * 司机抢单时间
     */
    @NotNull
    private Date driverGrabTime;

    /**
     * 订单状态
     */
    @NotNull
    private Integer status;

}
